<template>
  <div class="itemOuter">
    <h2>{{title}}分类</h2>
      <ul>
     <slot></slot>
      </ul>
  </div>
</template>


<script>
export default {
    name:"Item",
    props:["id","content","title"]
}
</script>


<style scoped>
.itemOuter {
  width: 300px;
  height: 300px;
  border: 1px solid #000;
}
.itemOuter h2 {
  background: orange;
}
</style>